package com.jhx.mall;

import com.jhx.mall.app.service.DtsAddressService;
import com.jhx.mall.app.service.impl.DtsAddressServiceImpl;
import com.jhx.mall.entity.DtsAddress;

public class Test {
    public static void main(String[] args) {
        DtsAddressService dtsAddressService = new DtsAddressServiceImpl();
        DtsAddress address = new DtsAddress();
        address.setUserId(2);
        address.setName("fe");
        address.setMobile("15865478956");
        address.setAddress("sbt");
        address.setProvinceId(18);
        address.setCityId(250);
        address.setAreaId(1980);
        address.setIsDefault(1);
        System.out.println(dtsAddressService.addAddress(address));
    }
}
